home *** CD-ROM | disk | FTP | other *** search
/ Aminet 34 / Aminet 34 (2000)(Schatztruhe)[!][Dec 1999].iso / Aminet / comm / irc / cybershiela.lha / cs / cs_oops.amirx < prev    next >
Text File  |  1999-07-05  |  570b  |  18 lines

  1. /* CyberShiela MultiResponse File */
  2. nick=getclip('NICK')
  3. xx=random(1,4,time('s'))
  4. select
  5. when xx=1 then a="Oops????"
  6. when xx=2 then a="What do you mean oops $1?"
  7. when xx=3 then a="$1 never never never say oops around a computer!!"
  8. when xx=4 then a="What did you do now $1?"
  9. end
  10. modif:
  11. user=nick
  12. old=a
  13. m=length(user);temp=a;x=pos("$1",temp);if x~=0 then do;temp2 = delstr(temp,x,2);old = insert(user,temp2,x-1,m," ");end
  14. temp=old;m=length(channam);x=pos("$chan",temp);if x~=0 then do;temp2 = delstr(temp,x,5);old = insert(channam,temp2,x-1,m," ");end
  15. a=old
  16. 'say 'A
  17. exit
  18.